System.out.println("Please input \'IceCream()\' to start the program") 
void IceCream() {
        int v = 73;
        int c = 40;
        int s = 80;
        int total = 100;
        Scanner scanner = new Scanner(System.in);
        System.out.println("Would you like (v)anilla, (c)hocolate or (s)trawberry?");
        String f = scanner.next();
        char flavor = '\0';
        if ("v".equals(f)) {
            flavor = 'v';
        } else if ("c".equals(f)) {
            flavor = 'c';
        } else if ("s".equals(f)) {
            flavor = 's';
        }else{System.out.println("We don't have that flavour.");
		return;}
        System.out.println("How many scoops would you like?");
        int num = scanner.nextInt();
        switch (flavor) {
            case 'v':
                if (num >= 1 && num <= 3) {
                    total += v * num;
                    double qian = total / 100.0;
                    System.out.println("That will be " + qian +" please.");
                } else {
                    if (num == 0) {
                        System.out.println("We don't sell just a cone.");
                    } else {
                        System.out.println("That's too many scoops to fit in a cone.");
                    }
                }
                break;
            case 'c':
                if (num >= 1 && num <= 3) {
                    total += c * num;
                    double qian = total / 100.0;
                    System.out.println("That will be " + qian + " please.");
                } else {
                    if (num == 0) {
                        System.out.println("We don't sell just a cone.");
                    } else {
                        System.out.println("That's too many scoops to fit in a cone.");
                    }
                }
                break;
            case 's':
                if (num >= 1 && num <= 3) {
                    total += s * num;
                    double qian = total / 100.0;
                    System.out.println("That will be " + qian + " please.");
                } else {
                    if (num == 0) {
                        System.out.println("We don't sell just a cone.");
                    } else {
                        System.out.println("That's too many scoops to fit in a cone.");
                    }
                }
                break;
           
        }
    }